package org.rcy.ruicingmarket.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 吴康桥
 * @Description
 * @date 2022/12/15 11:24
 */

@ConfigurationProperties(
		prefix = PermitedProperties.PREFIX
)
@Component
public class PermitedProperties {
	public static final String PREFIX = "permited";

	private List<String> predicatesPaths;

	public List<String> getPredicatesPaths() {
		return predicatesPaths;
	}

	public void setPredicatesPaths(List<String> predicatesPaths) {
		this.predicatesPaths = predicatesPaths;
	}
}
